package net.xi.dmhome.mapper;

import net.xi.dmhome.entity.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jxhu
 * @since 2021-02-02
 */
@Repository
public interface ArticleMapper extends BaseMapper<Article> {


/*    @Select("select * from dm_article where tag = ")
    List<Article> getByType(@PathVariable("tag") String tag);*/
}
